import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import installElementPlus from './plugins/element'
// 引入全局样式表
import './assets/css/global.css'

const app = createApp(App)
installElementPlus(app)
app.use(router)

// 请求地址
import urls from '../api/api.js'
app.config.globalProperties.$urls = urls
// 请求方法
import request from '../api/request.js'
app.config.globalProperties.$request = request
// 弹窗提示
import tips from '../config/Tips.js'
app.config.globalProperties.$tips = tips

app.mount('#app')